package cn.drew.house.service;



import cn.drew.basic.utils.PageList;
import cn.drew.house.domain.ContractInformation;
import cn.drew.house.query.ContractInformationQuery;

import java.util.List;

public interface ContractInformationService {
    //添加
    void add(ContractInformation ContractInformation);
    //修改
    void update(ContractInformation ContractInformation);
    //删除
    void delete(Long id);
    //查找一个
    ContractInformation findById(Long id);
    //查找所有
    List<ContractInformation> findAll();

    //分页查找数据
    PageList<ContractInformation> queryByPage(ContractInformationQuery ContractInformationQuery);

    //批量删除
    void patchDelete(List<Long> ids);

    //根据部门id查找所有员工
    ContractInformation findByHouseid(Integer houseid);
}
